package com.osig.ec.service;

import com.osig.common.persistence.Page;


public interface CurdService<T> {
	/**
	 *查询
	 * @return
	 */
	public Page<T> findList(Page<T> page,T entity);
	/**
	 * 新增
	 * @return
	 */
	public int insert(T entity);	
	/**
	 * 修改
	 * @return
	 */
	public int update(T entity);
	/**
	 * 删除
	 * @return
	 */
	public int delete(T entity);
	
}
